手机作为蓝牙音频源连接到Linux时,如何通过音量键调节传入的音量大小 |
您所在的位置:网站首页 › ubuntu 音量控制 › 手机作为蓝牙音频源连接到Linux时,如何通过音量键调节传入的音量大小 |
背景一:
我们知道,把手机作为音频源通过蓝牙连接到电脑,就可以把手机的声音转移到电脑上。
背景二:
我喜欢带着耳机用我的Linux本刷youtube,也喜欢用我的iPhone听音乐。为了同时做这两件事,我经常使用背景一提到的方法。
如何解决这个问题呢? 很简单:运行 bluetoothd 的时候加上 --plugin=a2dp 的参数。 具体步骤如下: sudo vim /lib/systemd/system/bluetooth.serviceappend --plugin=a2dp to the following line ExecStart=/usr/lib/bluetooth/bluetoothdThen it will looks like this: ExecStart=/usr/lib/bluetooth/bluetoothd --plugin=a2dp --compatfor Debian / Raspbian Stretch users, maybe you'll also need to add --noplugin=sap: ExecStart=/usr/lib/bluetooth/bluetoothd --plugin=a2dp --compat --noplugin=sapThen: sudo systemctl daemon-reload sudo systemctl restart bluetoothNow you're able to control the music volume passed into your laptop using the volume buttons of your iPhone. https://askubuntu.com/questions/997553/ubuntu-18-04-17-10-pulseaudio-bluetooth-ios-volume-control https://github.com/hadess/CHIP-bluetooth-speaker/issues/8 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |